package com.ershui.blog.article.service;

import com.ershui.blog.article.domain.LDiary;

import java.text.ParseException;
import java.util.List;

public interface LDiaryService {
    int insert(LDiary record) throws ParseException;

    int insertSelective(LDiary record);

    //一览
    List<LDiary> selectDiaryList();
    //更新
    void updateDiary(LDiary diary) throws ParseException;
    //删除
    void deleteDiaryById(Long id);


}
